<form class="layui-form" action="">
    <input name="eConfigId" id="eConfigId1" type="hidden" />

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">选择配置:</label>
            <div class="layui-input-inline">
                <input type="text" name="eConfigName" id="eConfigName1" lay-filter="tree" placeholder="请选择配置"  autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>


</form>

<script type="text/javascript">

    $(document.body).on('click', '#eConfigName1', function () {
        // 获取配置列表
        layui.use('layer', function() {
            var $ = layui.jquery, layer = layui.layer;

            var layId = layer.open({
                title:'请选择配置',
                id: 'LAY_configTree',//设定一个id，防止重复弹出
                type: 1,
                area: ['300px', '400px'],
                shadeClose: true,
                closeBtn: 0,
                content: getHtml('/sys/config/tree.html')
            });

            $('#tempSyncLayId').attr('layId',layId);
        });
    });


</script>